package edu.gatech.arktos;

public class Student {

	private String gtid;
	private String name;
	private String emailAddress;
	private int attendRate;
	
	public Student(){
		setGtid("");
		setName("");
		setEmailAddress("");
		setAttendance(0);
	}

	public Student(String gtid, String name, int attendRate){
		setGtid(gtid);
		setName(name);
		setEmailAddress("");
		setAttendance(attendRate);
	}
	
	public void setGtid(String gtid) {
		this.gtid = gtid;
	}
	
	public String getGtid() {
		return gtid;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public String getEmailAddress(){
		return emailAddress;
	}
	
	public void setEmailAddress(String emailAddress){
		this.emailAddress = emailAddress;
	}
	
	public int getAttendance() {
		return attendRate;
	}
	
	public void setAttendance(int attendRate) {
		this.attendRate = attendRate;		
	}
	
	public String toString(){
		return getName() + "-" + getGtid() + "-" + getEmailAddress() + "-" + getAttendance();
	}
}
